﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPageAdmin.master" AutoEventWireup="true"
    CodeFile="xemthoikhoabieu.aspx.cs" Inherits="Admin_xemthoikhoabieu" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="mainy">
        <!-- Page title -->
        <div class="page-title" style="display: none">
            <h2>
                <i class="icon-list color"></i>Form <small>Subtext for header</small></h2>
            <hr>
        </div>
        <!-- Page title -->
        <div class="row">
            <div class="col-md-12">
                <div class="awidget">
                    <div class="awidget-head">
                        <h3>
                            Thông tin thời khóa biểu theo mã lớp</h3>
                    </div>
                    <div class="awidget-body">
                        <div class="form-horizontal" role="form">
                            <div class="form-group">
                                <label class="col-lg-2 control-label">
                                    Lớp</label>
                                <div class="col-lg-10">
                                    <asp:TextBox ID="txt_lop" runat="server" placeholder="Mã lớp" class="form-control"></asp:TextBox>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-2 control-label">
                                    Tuần</label>
                                <div class="col-lg-10">
                                    <asp:DropDownList ID="dr_tuan" runat="server" class="form-control">
                                    </asp:DropDownList>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-lg-offset-2 col-lg-10">
                                    <hr>
                                    <asp:Label ID=lb_me runat=server CssClass="error_c"></asp:Label>
                                    <asp:Button ID="btn_luu" runat="server" Text="Xem" class="btn btn-default" OnClick="btn_luu_Click" />
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="awidget-body">
                        <asp:GridView ID="gr_tkb" runat="server" class="table table-hover table-bordered"
                            AutoGenerateColumns="false">
                            <Columns>
                                <asp:TemplateField HeaderText="Thứ">
                                    <ItemTemplate>
                                        <%# Eval("th") %>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Tiết">
                                    <ItemTemplate>
                                        <%# Eval("tiet") %>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Giảng Đường">
                                    <ItemTemplate>
                                        <%# Eval("gd") %>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Môn">
                                    <ItemTemplate>
                                        <%# Eval("mon") %>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Lớp">
                                    <ItemTemplate>
                                        <%# Eval("lop") %>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                        <div class="clearfix">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
